/*
 * @Author: Clark
 * @Email: haixuanwoTxh@gmail.com
 * @Date: 2024-01-17 10:10:31
 * @LastEditors: Clark
 * @LastEditTime: 2024-01-17 10:10:35
 * @Description: file content
 */

#include <iostream>

namespace AW
{
    int print(int i)
	{
        std::cout << "AW::print(int)" << std::endl;
        return i;
    }
}

namespace Primer
{
    double print(double d)
	{
        std::cout << "Primer::print(double)" << std::endl;
        return d;
    }
}

// using directives create an overload set of functions from different namespaces
using namespace AW;
using namespace Primer;

long double print(long double);

int main() {
    print(1);   // calls AW::print(int)
    print(3.1); // calls Primer::print(double)

    return 0;
}
